package com.hotel.room.service.feign;

import com.hotel.common.param.UserVipAdd;
import com.hotel.common.vo.R;
import com.hotel.room.config.OpenFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * --- 天道酬勤 ---
 *
 * @author TRC
 * @date 2024/6/18
 * @desc
 */
@FeignClient(value = "ht-vip-server",configuration = OpenFeignConfig.class)
public interface VipFeign {

    @RequestMapping("/user/vip/save")
    R save(UserVipAdd userVipAdd);

    @RequestMapping("/user/vip/my")
    R my();

}
